<%-- 
    Document   : side_reserved_menu
    Created on : 9-dic-2011, 13.30.20
    Author     : simone
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<f:subview id="side_menu">
    <h:form id ="side_menu_form">
        <h2><h:outputText value="#{msg.area_riservata}" rendered="#{loginBean.render}"/></h2>
        <h:form rendered="#{loginBean.render}">          
            <h:form rendered="#{loginBean.operatore}">
                <ul>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/operatore/visualizza_pazienti.jsp"><h:outputText value="#{msg.visualizza_pazienti}"/></h:outputLink></li>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/operatore/inviaRichiami.jsp"><h:outputText value="#{msg.invia_richiami}"/></h:outputLink></li>
                </ul>
            </h:form>
            <h:form rendered="#{loginBean.medico}">
                <ul>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/dati_personali.jsp"><h:outputText value="#{msg.dati}"/></h:outputLink></li>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/visualizza_pazienti.jsp"><h:outputText value="#{msg.visualizza_pazienti}"/></h:outputLink></li>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/visualizza_richiami.jsp"><h:outputText value="#{msg.visualizza_richiamati}"/></h:outputLink></li>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/visita.jsp"><h:outputText value="#{msg.visita}"/></h:outputLink></li>
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/statistiche.jsp"><h:outputText value="Statistiche"/></h:outputLink></li>                   
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/medico/change_data.jsp"><h:outputText value="#{msg.modifica_password}"/></h:outputLink></li>                   
                </ul>
            </h:form>
            <h:form rendered="#{loginBean.paziente}">
                <ul>                    
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/paziente/dati_personali.jsp"><h:outputText value="#{msg.dati}"/></h:outputLink></li>                   
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/paziente/visite.jsp"><h:outputText value="#{msg.visite}"/></h:outputLink></li>                   
                    <li><h:outputLink  value="/NamibiaMedicalControl/faces/paziente/change_data.jsp"><h:outputText value="#{msg.modifica_password}"/></h:outputLink></li>                   
                </ul>
            </h:form>                             
        </h:form>
    </h:form>˙
</f:subview>
